{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "x_data=[1.,2.,3.]\n",
    "y_data=[2.,4.,6.]\n",
    "\n",
    "w=1.0\n",
    "\n",
    "def forward(x):\n",
    "    return x*w\n",
    "\n",
    "def cost(xs,ys):\n",
    "    temp_cost=0\n",
    "    for x,y in zip(xs,ys):\n",
    "        y_pred=forward(x)\n",
    "        temp_cost  += (y-y_pred)**2\n",
    "    return temp_cost/len(xs)\n",
    "\n",
    "def gradient(xs,ys):\n",
    "    grad=0\n",
    "    for x,y in zip(xs,ys):\n",
    "        grad+=2*x*(x*w-y)\n",
    "    return grad/len(xs)\n",
    "\n",
    "wl=[]\n",
    "cl=[]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "w= 1.9999496252874736  loss= 1.4405775547323328e-08\n",
      "w= 1.9999543269273095  loss= 1.1842187756547517e-08\n",
      "w= 1.9999585897474272  loss= 9.73480465527282e-09\n",
      "w= 1.999962454704334  loss= 8.002442084652284e-09\n",
      "w= 1.9999659589319294  loss= 6.578363057677792e-09\n",
      "w= 1.9999691360982828  loss= 5.407706805106763e-09\n",
      "w= 1.9999720167291097  loss= 4.445375336336258e-09\n",
      "w= 1.9999746285010596  loss= 3.654296098708337e-09\n",
      "w= 1.9999769965076273  loss= 3.0039938062398064e-09\n",
      "w= 1.9999791435002487  loss= 2.469416419574488e-09\n",
      "w= 1.9999810901068922  loss= 2.0299700487455895e-09\n",
      "w= 1.999982855030249  loss= 1.6687256009798603e-09\n",
      "w= 1.9999844552274257  loss= 1.371766609548254e-09\n",
      "w= 1.999985906072866  loss= 1.1276531204725252e-09\n",
      "w= 1.9999872215060652  loss= 9.269809829497494e-10\n",
      "w= 1.999988414165499  loss= 7.620195671191381e-10\n",
      "w= 1.9999894955100526  loss= 6.264139517215796e-10\n",
      "w= 1.9999904759291143  loss= 5.149401089318768e-10\n",
      "w= 1.999991364842397  loss= 4.233036557694424e-10\n",
      "w= 1.99999217079044  loss= 3.47974418527062e-10\n",
      "w= 1.9999929015166655  loss= 2.8605043756363944e-10\n",
      "w= 1.9999935640417768  loss= 2.351461730319416e-10\n",
      "w= 1.999994164731211  loss= 1.9330060517327963e-10\n",
      "w= 1.999994709356298  loss= 1.5890168858915366e-10\n",
      "w= 1.9999952031497101  loss= 1.3062425031741918e-10\n",
      "w= 1.9999956508557373  loss= 1.0737893928680942e-10\n",
      "w= 1.9999960567758686  loss= 8.8270260486003e-11\n",
      "w= 1.9999964248101207  loss= 7.256207723875048e-11\n",
      "w= 1.9999967584945095  loss= 5.964925247279011e-11\n",
      "w= 1.999997061035022  loss= 4.903433660737981e-11\n",
      "w= 1.99999733533842  loss= 4.030840399694845e-11\n",
      "w= 1.9999975840401674  loss= 3.313529956782591e-11\n",
      "w= 1.9999978095297517  loss= 2.7238688929053905e-11\n",
      "w= 1.9999980139736415  loss= 2.2391412909108122e-11\n",
      "w= 1.9999981993361016  loss= 1.8406736584033667e-11\n",
      "w= 1.9999983673980655  loss= 1.513115554895154e-11\n",
      "w= 1.999998519774246  loss= 1.243848235763325e-11\n",
      "w= 1.9999986579286497  loss= 1.0224985320645546e-11\n",
      "w= 1.9999987831886423  loss= 8.405392376989174e-12\n",
      "w= 1.9999988967577025  loss= 6.909606107972389e-12\n",
      "w= 1.9999989997269836  loss= 5.680003312816431e-12\n",
      "w= 1.9999990930857985  loss= 4.669215167726787e-12\n",
      "w= 1.999999177731124  loss= 3.83830238824482e-12\n",
      "w= 1.999999254476219  loss= 3.155255154808919e-12\n",
      "w= 1.9999993240584386  loss= 2.593759969699999e-12\n",
      "w= 1.9999993871463178  loss= 2.132185973933309e-12\n",
      "w= 1.9999994443459947  loss= 1.7527516336648503e-12\n",
      "w= 1.9999994962070353  loss= 1.440839742998853e-12\n",
      "w= 1.999999543227712  loss= 1.1844343058800304e-12\n",
      "w= 1.9999995858597923  loss= 9.736576414395159e-13\n",
      "w= 1.9999996245128784  loss= 8.003898544090114e-13\n",
      "w= 1.9999996595583431  loss= 6.579560331703111e-13\n",
      "w= 1.9999996913328977  loss= 5.408691012517321e-13\n",
      "w= 1.9999997201418271  loss= 4.4461844012431444e-13\n",
      "w= 1.9999997462619232  loss= 3.654961188144078e-13\n",
      "w= 1.9999997699441436  loss= 3.004540541517374e-13\n",
      "w= 1.9999997914160235  loss= 2.469865863254769e-13\n",
      "w= 1.9999998108838613  loss= 2.0303395115474217e-13\n",
      "w= 1.999999828534701  loss= 1.66902931698312e-13\n",
      "w= 1.9999998445381288  loss= 1.3720162774073653e-13\n",
      "w= 1.9999998590479036  loss= 1.1278583585515511e-13\n",
      "w= 1.9999998722034327  loss= 9.271496968522504e-14\n",
      "w= 1.9999998841311122  loss= 7.621582562121307e-14\n",
      "w= 1.9999998949455418  loss= 6.265279609927294e-14\n",
      "w= 1.9999999047506245  loss= 5.150338287212101e-14\n",
      "w= 1.9999999136405662  loss= 4.233806981952913e-14\n",
      "w= 1.99999992170078  loss= 3.4803775193755746e-14\n",
      "w= 1.9999999290087072  loss= 2.8610250045883864e-14\n",
      "w= 1.9999999356345612  loss= 2.3518897078603593e-14\n",
      "w= 1.9999999416420022  loss= 1.933357857240197e-14\n",
      "w= 1.9999999470887486  loss= 1.589306090862069e-14\n",
      "w= 1.999999952027132  loss= 1.3064802438933907e-14\n",
      "w= 1.9999999565045998  loss= 1.07398482121278e-14\n",
      "w= 1.9999999605641705  loss= 8.828632567944822e-15\n",
      "w= 1.9999999642448478  loss= 7.257528338097003e-15\n",
      "w= 1.9999999675819953  loss= 5.966010930476005e-15\n",
      "w= 1.9999999706076756  loss= 4.904326170453415e-15\n",
      "w= 1.9999999733509592  loss= 4.031574090228466e-15\n",
      "w= 1.999999975838203  loss= 3.3141330976503296e-15\n",
      "w= 1.999999978093304  loss= 2.724364694968737e-15\n",
      "w= 1.999999980137929  loss= 2.2395488742462455e-15\n",
      "w= 1.9999999819917222  loss= 1.841008718917265e-15\n",
      "w= 1.9999999836724949  loss= 1.5133909910880908e-15\n",
      "w= 1.9999999851963954  loss= 1.244074658107541e-15\n",
      "w= 1.999999986578065  loss= 1.022684637796773e-15\n",
      "w= 1.999999987830779  loss= 8.406922423772652e-16\n",
      "w= 1.999999988966573  loss= 6.9108637602094e-16\n",
      "w= 1.9999999899963594  loss= 5.681037357692236e-16\n",
      "w= 1.9999999909300326  loss= 4.670065162242399e-16\n",
      "w= 1.9999999917765627  loss= 3.839001026220015e-16\n",
      "w= 1.9999999925440834  loss= 3.1558296571823256e-16\n",
      "w= 1.999999993239969  loss= 2.594232242156015e-16\n",
      "w= 1.9999999938709052  loss= 2.132574242690705e-16\n",
      "w= 1.999999994442954  loss= 1.7530708297392726e-16\n",
      "w= 1.9999999949616116  loss= 1.4411020615022906e-16\n",
      "w= 1.9999999954318612  loss= 1.1846500119529846e-16\n",
      "w= 1.9999999958582209  loss= 9.738349457896592e-17\n",
      "w= 1.999999996244787  loss= 8.005355897435174e-17\n",
      "w= 1.9999999965952735  loss= 6.580758284957657e-17\n",
      "w= 1.999999996913048  loss= 5.409676005437524e-17\n",
      "w= 1.9999999972011635  loss= 4.44699398222102e-17\n",
      "w= 1.9999999974623883  loss= 3.6556265500679413e-17\n",
      "w= 1.999999997699232  loss= 3.0050872966054246e-17\n",
      "w= 1.9999999979139704  loss= 2.4703158303887335e-17\n",
      "w= 1.9999999981086665  loss= 2.0307092257051805e-17\n",
      "w= 1.999999998285191  loss= 1.669333268256768e-17\n",
      "w= 1.99999999844524  loss= 1.3722659708836455e-17\n",
      "w= 1.999999998590351  loss= 1.1280635854439595e-17\n",
      "w= 1.9999999987219181  loss= 9.273181632846905e-18\n",
      "w= 1.9999999988412058  loss= 7.62296905553995e-18\n",
      "w= 1.99999999894936  loss= 6.266418865967686e-18\n",
      "w= 1.9999999990474198  loss= 5.151273168829075e-18\n",
      "w= 1.9999999991363273  loss= 4.2345758361966715e-18\n",
      "w= 1.9999999992169368  loss= 3.4810090634203134e-18\n",
      "w= 1.9999999992900228  loss= 2.8615433162267656e-18\n",
      "w= 1.9999999993562874  loss= 2.3523158178713203e-18\n",
      "w= 1.9999999994163673  loss= 1.933707819326033e-18\n",
      "w= 1.9999999994708397  loss= 1.5895932539896047e-18\n",
      "w= 1.999999999520228  loss= 1.3067156286736417e-18\n",
      "w= 1.9999999995650066  loss= 1.0741790152332025e-18\n",
      "w= 1.999999999605606  loss= 8.830231012997337e-19\n",
      "w= 1.999999999642416  loss= 7.258847041312245e-19\n",
      "w= 1.9999999996757905  loss= 5.967091954420124e-19\n",
      "w= 1.99999999970605  loss= 4.905215904049574e-19\n",
      "w= 1.9999999997334854  loss= 4.0323087491254164e-19\n",
      "w= 1.9999999997583602  loss= 3.3147333496097863e-19\n",
      "w= 1.9999999997809133  loss= 2.7248585116375776e-19\n",
      "w= 1.9999999998013613  loss= 2.239952522545633e-19\n",
      "w= 1.999999999819901  loss= 1.8413423735760678e-19\n",
      "w= 1.9999999998367102  loss= 1.5136628442348685e-19\n",
      "w= 1.9999999998519506  loss= 1.2442998077724893e-19\n",
      "w= 1.9999999998657685  loss= 1.02286781854237e-19\n",
      "w= 1.9999999998782967  loss= 8.408452424015493e-20\n",
      "w= 1.9999999998896556  loss= 6.912119703883337e-20\n",
      "w= 1.9999999998999545  loss= 5.682075547576174e-20\n",
      "w= 1.9999999999092921  loss= 4.670921302547964e-20\n",
      "w= 1.9999999999177582  loss= 3.8396962420010173e-20\n",
      "w= 1.999999999925434  loss= 3.1563973280541844e-20\n",
      "w= 1.9999999999323936  loss= 2.5946982551434627e-20\n",
      "w= 1.9999999999387035  loss= 2.1329562715308646e-20\n",
      "w= 1.9999999999444245  loss= 1.753387043041336e-20\n",
      "w= 1.9999999999496114  loss= 1.4413707871706683e-20\n",
      "w= 1.9999999999543143  loss= 1.1848754427320719e-20\n",
      "w= 1.9999999999585782  loss= 9.74013800768683e-21\n",
      "w= 1.9999999999624443  loss= 8.00686991282148e-21\n",
      "w= 1.9999999999659495  loss= 6.582022201673281e-21\n",
      "w= 1.9999999999691276  loss= 5.410686422989996e-21\n",
      "w= 1.999999999972009  loss= 4.447841958913893e-21\n",
      "w= 1.9999999999746216  loss= 3.65630012652187e-21\n",
      "w= 1.9999999999769902  loss= 3.0055976279247355e-21\n",
      "w= 1.9999999999791378  loss= 2.4707641248886712e-21\n",
      "w= 1.999999999981085  loss= 2.0310707165475644e-21\n",
      "w= 1.9999999999828504  loss= 1.6696600414727327e-21\n",
      "w= 1.999999999984451  loss= 1.372502435574588e-21\n",
      "w= 1.9999999999859024  loss= 1.128265183502323e-21\n",
      "w= 1.9999999999872182  loss= 9.274782826895062e-22\n",
      "w= 1.9999999999884113  loss= 7.624110128027355e-22\n",
      "w= 1.9999999999894928  loss= 6.267219450121327e-22\n",
      "w= 1.9999999999904736  loss= 5.152010077138626e-22\n",
      "w= 1.9999999999913627  loss= 4.235046823424192e-22\n",
      "w= 1.999999999992169  loss= 3.4814432530386782e-22\n",
      "w= 1.9999999999929  loss= 2.861863370984748e-22\n",
      "w= 1.9999999999935625  loss= 2.3525317986910194e-22\n",
      "w= 1.9999999999941633  loss= 1.93394261759401e-22\n",
      "w= 1.999999999994708  loss= 1.5897252685168227e-22\n",
      "w= 1.9999999999952018  loss= 1.3069304223708962e-22\n",
      "w= 1.9999999999956497  loss= 1.0743979827431346e-22\n",
      "w= 1.9999999999960558  loss= 8.831709514160299e-23\n",
      "w= 1.999999999996424  loss= 7.259544724253269e-23\n",
      "w= 1.9999999999967577  loss= 5.967882271651158e-23\n",
      "w= 1.9999999999970604  loss= 4.906111489932858e-23\n",
      "w= 1.9999999999973348  loss= 4.0325850641832845e-23\n",
      "w= 1.9999999999975835  loss= 3.3147542598305946e-23\n",
      "w= 1.999999999997809  loss= 2.725005528438257e-23\n",
      "w= 1.9999999999980136  loss= 2.23995155019223e-23\n",
      "w= 1.999999999998199  loss= 1.8415632098569072e-23\n",
      "w= 1.999999999998367  loss= 1.5136068593384884e-23\n",
      "w= 1.9999999999985194  loss= 1.2444719189309538e-23\n",
      "w= 1.9999999999986575  loss= 1.0230065496227323e-23\n",
      "w= 1.9999999999987828  loss= 8.409340671696713e-24\n",
      "w= 1.9999999999988964  loss= 6.915653058044263e-24\n",
      "w= 1.9999999999989995  loss= 5.684272739430472e-24\n",
      "w= 1.999999999999093  loss= 4.672531281306477e-24\n",
      "w= 1.9999999999991775  loss= 3.8398734924462845e-24\n",
      "w= 1.9999999999992544  loss= 3.1566700366380307e-24\n",
      "w= 1.9999999999993239  loss= 2.5938075913094798e-24\n",
      "w= 1.999999999999387  loss= 2.133648870080109e-24\n",
      "w= 1.9999999999994442  loss= 1.754233727416397e-24\n",
      "w= 1.9999999999994962  loss= 1.4412342306082354e-24\n",
      "w= 1.9999999999995433  loss= 1.1847814667776736e-24\n",
      "w= 1.9999999999995859  loss= 9.737473695652116e-25\n",
      "w= 1.9999999999996245  loss= 8.00469338567985e-25\n",
      "w= 1.9999999999996596  loss= 6.5775532891309395e-25\n",
      "w= 1.9999999999996914  loss= 5.408700715401317e-25\n",
      "w= 1.9999999999997202  loss= 4.442720651089536e-25\n",
      "w= 1.9999999999997464  loss= 3.652820421625895e-25\n",
      "w= 1.9999999999997702  loss= 2.998426774156594e-25\n",
      "w= 1.9999999999997917  loss= 2.463701518203079e-25\n",
      "w= 1.9999999999998113  loss= 2.026234594562219e-25\n",
      "w= 1.9999999999998288  loss= 1.6640369985390437e-25\n",
      "w= 1.9999999999998448  loss= 1.3669560902833587e-25\n",
      "w= 1.9999999999998592  loss= 1.1235057263231023e-25\n",
      "w= 1.9999999999998723  loss= 9.26089176140996e-26\n",
      "w= 1.9999999999998843  loss= 7.601498195374273e-26\n",
      "w= 1.9999999999998952  loss= 6.25057389518329e-26\n",
      "w= 1.999999999999905  loss= 5.125912980672105e-26\n",
      "w= 1.9999999999999138  loss= 4.2147786351418364e-26\n",
      "w= 1.9999999999999218  loss= 3.463783053371433e-26\n",
      "w= 1.9999999999999292  loss= 2.850838130014707e-26\n",
      "w= 1.9999999999999358  loss= 2.3382182357396824e-26\n",
      "w= 1.9999999999999418  loss= 1.9245395770417838e-26\n",
      "w= 1.9999999999999472  loss= 1.5742311009364206e-26\n",
      "w= 1.999999999999952  loss= 1.298603100652199e-26\n",
      "w= 1.9999999999999565  loss= 1.0734819198247529e-26\n",
      "w= 1.9999999999999605  loss= 8.838923489366363e-27\n",
      "w= 1.9999999999999643  loss= 7.32516515065601e-27\n",
      "w= 1.9999999999999676  loss= 5.979910788221304e-27\n",
      "w= 1.9999999999999707  loss= 4.9333388860259026e-27\n",
      "w= 1.9999999999999734  loss= 4.008991120333182e-27\n",
      "w= 1.9999999999999758  loss= 3.3132158019282496e-27\n",
      "w= 1.999999999999978  loss= 2.7443977854573238e-27\n",
      "w= 1.99999999999998  loss= 2.245311786087497e-27\n",
      "w= 1.9999999999999818  loss= 1.8814989973608817e-27\n",
      "w= 1.9999999999999836  loss= 1.5633250989217401e-27\n",
      "w= 1.9999999999999851  loss= 1.2746020076108498e-27\n",
      "w= 1.9999999999999865  loss= 1.02625873388596e-27\n",
      "w= 1.9999999999999878  loss= 8.621756655999896e-28\n",
      "w= 1.999999999999989  loss= 6.905984187144195e-28\n",
      "w= 1.99999999999999  loss= 5.851375764476855e-28\n",
      "w= 1.999999999999991  loss= 4.703747493402204e-28\n",
      "w= 1.9999999999999918  loss= 3.9083127473043504e-28\n",
      "w= 1.9999999999999925  loss= 3.1865050190271246e-28\n",
      "w= 1.9999999999999931  loss= 2.7274865798016483e-28\n",
      "w= 1.9999999999999938  loss= 2.1807073648703345e-28\n",
      "w= 1.9999999999999944  loss= 1.8038619366053803e-28\n",
      "w= 1.999999999999995  loss= 1.4628439411192138e-28\n",
      "w= 1.9999999999999953  loss= 1.1946312333440698e-28\n",
      "w= 1.9999999999999958  loss= 1.0355442841244991e-28\n",
      "w= 1.9999999999999962  loss= 8.12033694311879e-29\n",
      "w= 1.9999999999999967  loss= 6.818716449504121e-29\n",
      "w= 1.999999999999997  loss= 5.030631731003161e-29\n",
      "w= 1.9999999999999971  loss= 4.2401273655629385e-29\n",
      "w= 1.9999999999999973  loss= 4.018260235969529e-29\n",
      "w= 1.9999999999999976  loss= 3.3132158019282496e-29\n",
      "w= 1.9999999999999978  loss= 2.677196697093809e-29\n",
      "w= 1.999999999999998  loss= 2.5046333740767125e-29\n",
      "w= 1.9999999999999982  loss= 1.9540742006412146e-29\n",
      "w= 1.9999999999999984  loss= 1.4725403564125555e-29\n",
      "w= 1.9999999999999987  loss= 1.0600318413907346e-29\n",
      "w= 1.999999999999999  loss= 7.165486555757524e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n",
      "w= 1.999999999999999  loss= 6.261583435191781e-30\n"
     ]
    }
   ],
   "source": [
    "for epoch in range(1000):\n",
    "    cost_val=cost(x_data,y_data)\n",
    "    gri_val=gradient(x_data,y_data)\n",
    "    w-=0.01*gri_val\n",
    "    wl.append(w)\n",
    "    print('w=',w,' loss=',cost_val)\n",
    "    cl.append(cost_val)\n",
    "\n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/d3fzzAAAACXBIWXMAAAsTAAALEwEAmpwYAAAel0lEQVR4nO3dd3hVVaL+8e9K7wmQBEIKoXcCIRQBRbEx6tgLIE0RLFhnnrn+5k67o7+5M+M4jqKoFAGxMqJX7L2gAgkJ0pEWqrQQSIX0df9IFK8iBMjJ3uec9/M85yHJOSRv9hNeVtbeey1jrUVERNwrwOkAIiJyYipqERGXU1GLiLicilpExOVU1CIiLhfkiU8aHx9v09PTPfGpRUR8Ul5e3kFrbcLxnvNIUaenp5Obm+uJTy0i4pOMMTt+7jlNfYiIuJyKWkTE5VTUIiIup6IWEXE5FbWIiMupqEVEXE5FLSLicq4p6ro6y/RPt7D222Kno4iIuIprirq0ooYXlu1gyvxcDpZVOh1HRMQ1XFPUsRHBzBiXRWF5FXe8sILq2jqnI4mIuIJrihqgd0osf7+mDznbDvHAm+udjiMi4goeWevjTFzZL5l1e4qZ9cU2eraNYdTANKcjiYg4ylUj6u/cP7IbZ3eO5w+L1pK347DTcUREHOXKog4KDODx0f1Iig3ntufz2Fdc4XQkERHHuLKoAeIiQpg1PovyyhpufT6PiupapyOJi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f+++31vrq0qdDgXHAGmPMyoaP/SeQBt8fj3eAS4AtwBHqf+M4bbqFXETE5TT1ISLicipqERGXU1GLiLicilpExOVU1CIiLqeiFhFxORW1iIjL/S+p+RGxjvxAkwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.plot(wl,cl)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
